﻿Public Class BEPost

    Public Const ID_POST As String = "id_post"
    Public Const ID_TOPICO As String = "id_topico"
    Public Const ID_MENSAGEM As String = "id_mensagem"
    Public Const TOT_POSTS_CRIADOR As String = "tot_posts_criador"
    Public Const TITULO As String = "titulo"
    Public Const AVATAR As String = "avatar"

    Private _id As Integer
    Private _idmensagem As Integer
    Private _idtopico As Integer

    Private _totPostsCriador As Integer
    Private _tituloTopico As String
    Private _avatar As String
    Private _mensagemPost As BEMensagem



    Public Property Id() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property

    Public Property IdMensagem() As Integer
        Get
            Return _idmensagem
        End Get
        Set(ByVal value As Integer)
            _idmensagem = value
        End Set
    End Property

    Public Property IdTopico() As Integer
        Get
            Return _idtopico
        End Get
        Set(ByVal value As Integer)
            _idtopico = value
        End Set
    End Property

    Public Property TotalPostsCriador() As Integer
        Get
            Return _totPostsCriador
        End Get
        Set(ByVal value As Integer)
            _totPostsCriador = value
        End Set
    End Property

    Public Property TituloTopico() As String
        Get
            Return _tituloTopico
        End Get
        Set(ByVal value As String)
            _tituloTopico = value
        End Set
    End Property
    Public Property ImgAvatar() As String
        Get
            Return _avatar
        End Get
        Set(ByVal value As String)
            _avatar = value
        End Set
    End Property

    Public Property MensagemPost() As BEMensagem
        Get
            Return _mensagemPost
        End Get
        Set(ByVal value As BEMensagem)
            _mensagemPost = value
        End Set
    End Property

End Class
